package cn.usbtg.poi.ext.download.bean;

import cn.usbtg.poi.ext.download.celltheme.POICellTheme;

/**
 * 标题单元格
 */
public class POITitle {
    private String code; //代码
    private String name;//名称
    private POICellTheme cellStyle;//单元格样式
    private POICellTheme cellStyleData;//数据单元格样式

    public POITitle(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

    public POICellTheme getCellStyle() {
        return cellStyle;
    }

    public POICellTheme getCellStyleData() {
        return cellStyleData;
    }

    public POITitle setCode(String code) {
        this.code = code;
        return this;
    }

    public POITitle setName(String name) {
        this.name = name;
        return this;
    }

    public POITitle setCellStyle(POICellTheme cellStyle) {
        this.cellStyle = cellStyle;
        return this;
    }

    public POITitle setCellStyleData(POICellTheme cellStyleData) {
        this.cellStyleData = cellStyleData;
        return this;
    }
}